angular.module('service.filter', [])

    .filter('orderstutsFilter',[function(){
        return function(orderstuts) {
            switch (orderstuts){
                case 0:
                    orderstuts = "未付款";
                    break;
                case 1:
                    orderstuts = "正在投放";
                    break;
                case 2:
                    orderstuts = "已完成";
                    break;
            }
            return orderstuts;
        }
    }])
    .filter('adtypefilter', function () {
    return function (paytype) {
        if (paytype == 1) return "定制版";
        else return "基础版";
    }
})

